package com.ynb.lighterbuffer;

public class StringSchema implements ISchema<String>{
	@Override
	public void serialize(String o,BinaryWriter writer) throws Exception{
		writer.writeString(o);
	}
	@Override
	public String deSerialize(Class<String> type,BinaryReader reader) throws Exception{
		return reader.readString();
	}
}